﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="CheckAvailableRoom.aspx.cs" Inherits="HotelManagement.CheckAvailableRoom" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        


       
        .style28
        {
            width: 665px;
            height: 73px;
        }
        
        .style30
        {
            width: 26px;
            height: 58px;
        }
        


       
        .style31
        {
            width: 270px;
        }
        .style32
        {
            color: #FF0000;
        }
        .style33
        {
            height: 58px;
        }
        .style34
        {
            width: 270px;
            height: 58px;
        }
        


       
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 id="btnGoBack">
        Check Room Availability&nbsp;&nbsp;
                    <asp:Label ID="lblVacantRoomStatus" runat="server" ForeColor="#CC0000"></asp:Label>
    </h2>
    <p>
        &nbsp;&nbsp;&nbsp;
        <table class="style28">
            <tr>
                <td class="style33">
                    <asp:Button ID="btnCheckVacantRoom" runat="server" 
                        onclick="btnCheckVacantRoom_Click" Text="Check Vacant Room" />
                </td>
                <td class="style33">
                    </td>
                <td class="style34">
                    </td>
                <td class="style33">
                    </td>
                <td class="style33">
                    </td>
                <td class="style30">
                    </td>
            </tr>
            <tr>
                <td class="style79">
                Desired
                    Check In Date<br />
                </td>
                <td class="style80">
            :<br />
                </td>
                <td class="style31">
                <asp:DropDownList ID="ddlDesiredArrivalDay" runat="server" AutoPostBack="True" 
                    Height="22px" style="margin-top: 0px">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                    <asp:ListItem>13</asp:ListItem>
                    <asp:ListItem>14</asp:ListItem>
                    <asp:ListItem>15</asp:ListItem>
                    <asp:ListItem>16</asp:ListItem>
                    <asp:ListItem>17</asp:ListItem>
                    <asp:ListItem>18</asp:ListItem>
                    <asp:ListItem>19</asp:ListItem>
                    <asp:ListItem>20</asp:ListItem>
                    <asp:ListItem>21</asp:ListItem>
                    <asp:ListItem>22</asp:ListItem>
                    <asp:ListItem>23</asp:ListItem>
                    <asp:ListItem>24</asp:ListItem>
                    <asp:ListItem>25</asp:ListItem>
                    <asp:ListItem>26</asp:ListItem>
                    <asp:ListItem>27</asp:ListItem>
                    <asp:ListItem>28</asp:ListItem>
                    <asp:ListItem>29</asp:ListItem>
                    <asp:ListItem>30</asp:ListItem>
                    <asp:ListItem>31</asp:ListItem>
                </asp:DropDownList>
                /<asp:DropDownList ID="ddlDesiredArrivalMonth" runat="server" Height="22px">
                    <asp:ListItem>January</asp:ListItem>
                    <asp:ListItem>February</asp:ListItem>
                    <asp:ListItem>March</asp:ListItem>
                    <asp:ListItem>April</asp:ListItem>
                    <asp:ListItem>May</asp:ListItem>
                    <asp:ListItem>June</asp:ListItem>
                    <asp:ListItem>July</asp:ListItem>
                    <asp:ListItem>August</asp:ListItem>
                    <asp:ListItem>September</asp:ListItem>
                    <asp:ListItem>October</asp:ListItem>
                    <asp:ListItem>November</asp:ListItem>
                    <asp:ListItem>December</asp:ListItem>
                </asp:DropDownList>
                /<asp:TextBox ID="tbxDesiredArrivalYear" runat="server" Height="22px" Width="62px"></asp:TextBox>
                &nbsp;<br />
                    <asp:RangeValidator ID="RangeValidator1" runat="server" 
                        ControlToValidate="tbxDesiredArrivalYear" Display="Dynamic" 
                        ErrorMessage="Please enter between 2013 and 2019" ForeColor="Red" 
                        MaximumValue="2019" MinimumValue="2013"></asp:RangeValidator>
                </td>
                <td class="style80">
            Time<br />
                    <br />
                </td>
                <td class="style80">
                :<br />
                    <br />
                </td>
                <td class="style80">
                    <asp:TextBox ID="tbxDesiredArrivalTime" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td class="style79">
                    &nbsp;</td>
                <td class="style80">
                    &nbsp;</td>
                <td class="style31">
                    &nbsp;</td>
                <td class="style80">
                    &nbsp;</td>
                <td class="style80">
                    &nbsp;</td>
                <td class="style80">
                    <span class="style32">Please enter time separated by &quot;:&quot;</span><br 
                        class="style32" />
                    <span class="style32">(E.g 12:30)&nbsp;</span>&nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td class="style85">
                    Desired Check Out Date</td>
                <td class="style86">
                    :</td>
                <td class="style31">
                <asp:DropDownList ID="ddlDesiredDepartDay" runat="server" AutoPostBack="True" 
                    Height="22px" style="margin-top: 0px">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                    <asp:ListItem>13</asp:ListItem>
                    <asp:ListItem>14</asp:ListItem>
                    <asp:ListItem>15</asp:ListItem>
                    <asp:ListItem>16</asp:ListItem>
                    <asp:ListItem>17</asp:ListItem>
                    <asp:ListItem>18</asp:ListItem>
                    <asp:ListItem>19</asp:ListItem>
                    <asp:ListItem>20</asp:ListItem>
                    <asp:ListItem>21</asp:ListItem>
                    <asp:ListItem>22</asp:ListItem>
                    <asp:ListItem>23</asp:ListItem>
                    <asp:ListItem>24</asp:ListItem>
                    <asp:ListItem>25</asp:ListItem>
                    <asp:ListItem>26</asp:ListItem>
                    <asp:ListItem>27</asp:ListItem>
                    <asp:ListItem>28</asp:ListItem>
                    <asp:ListItem>29</asp:ListItem>
                    <asp:ListItem>30</asp:ListItem>
                    <asp:ListItem>31</asp:ListItem>
                </asp:DropDownList>
                /<asp:DropDownList ID="ddlDesiredDepartMonth" runat="server" Height="22px">
                    <asp:ListItem>January</asp:ListItem>
                    <asp:ListItem>February</asp:ListItem>
                    <asp:ListItem>March</asp:ListItem>
                    <asp:ListItem>April</asp:ListItem>
                    <asp:ListItem>May</asp:ListItem>
                    <asp:ListItem>June</asp:ListItem>
                    <asp:ListItem>July</asp:ListItem>
                    <asp:ListItem>August</asp:ListItem>
                    <asp:ListItem>September</asp:ListItem>
                    <asp:ListItem>October</asp:ListItem>
                    <asp:ListItem>November</asp:ListItem>
                    <asp:ListItem>December</asp:ListItem>
                </asp:DropDownList>
                /<asp:TextBox ID="tbxDesiredDepartYear" runat="server" Height="22px" Width="62px"></asp:TextBox>
                    <br />
                    <asp:RangeValidator ID="RangeValidator2" runat="server" 
                        ControlToValidate="tbxDesiredDepartYear" Display="Dynamic" 
                        ErrorMessage="Please enter between 2013 and 2019" ForeColor="Red" 
                        MaximumValue="2019" MinimumValue="2013"></asp:RangeValidator>
                </td>
                <td class="style86">
                    Time<br />
                    <br />
                    <br />
                </td>
                <td class="style86">
                    :<br />
                    <br />
                    <br />
                </td>
                <td class="style86">
                    <asp:TextBox ID="tbxDesiredDepartTime" runat="server"></asp:TextBox>
                    <br />
                    </td>
            </tr>
            <tr>
                <td class="style85">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style31">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    <span class="style32">Please enter time separated by &quot;:&quot;</span><br 
                        class="style32" />
                    <span class="style32">(E.g 12:30)&nbsp;</span></td>
            </tr>
            <tr>
                <td class="style85">
            No. of Nights</td>
                <td class="style86">
            :</td>
                <td class="style31">
                    <asp:TextBox ID="tbxNight" runat="server"></asp:TextBox>
                &nbsp;<br />
                </td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style85">
            No. of Adults</td>
                <td class="style86">
                    :</td>
                <td class="style31">
                    <asp:TextBox ID="tbxAdult" runat="server"></asp:TextBox>
                    <br />
                </td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style85">
            No. of Children</td>
                <td class="style86">
                    :</td>
                <td class="style31">
                    <asp:TextBox ID="tbxChildren" runat="server" ></asp:TextBox>
                    <br />
                </td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
                <td class="style86">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style82">
                    &nbsp;</td>
                <td class="style84">
                    &nbsp;</td>
                <td class="style31">
                    &nbsp;</td>
                <td class="style84">
                    &nbsp;</td>
                <td class="style84">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </p>
    <br />
    <br />
&nbsp;<asp:Button ID="btnGoBack" runat="server" Text="Go Back" 
        onclick="btnGoBack_Click" />
&nbsp;
    <asp:Button ID="btnContinue" runat="server" Text="Continue for booking" 
        Width="183px" onclick="btnContinue_Click" />
&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnClear" runat="server" onclick="btnClear_Click" 
        Text="Clear" />
</asp:Content>
